This page last changed on Jan 02, 2007 by rosie@atlassian.com.

You need to edit in 'Wiki Markup' mode to include macros in your page.

The Search Macro does an inline site search and displays the results in the page.

Search Macro

What you need to type What you will get
{search:query=my_query}

Found 4 search result(s) for my_query

Search Macro (Confluence 1.4 User Guide)
Search Macro does an inline site search and displays the results in the page. Search Macro What you need to type What you will get \ Optional Parameters Set a limit to the number of search results displayed Specify the key of the space ...
Nov 24, 2005
Search Macro (Confluence)
Search Confluence, and include the results in the page . The search macro behaves identically to Confluence's builtin site search. Usage: \ OR \ Parameter Required Default Description query yes none search query (what you enter in the search box) maxLimit no none ...
Sep 10, 2005
Re: Calendar Plugin (Confluence Extensions > Calendar Plugin)
OK...thanks\!  So...is OSPROPERTYENTRY.ENTITYID a foreign key to CONTENT.CONTENTID?  Does this mean that if I create a new page with a calendar in it, add a calendar macro with the same id as another existing calendar, and then copy the database row, substituting the new page's CONTENTID for ENTITYID ...
Mar 16, 2006 - All Comments
Table Improvements Page (Confluence Community)
scheng: Confluence works well with table but it would to be nice to be able to Set the column width in % of table width Set the table width manually Set cell height specifically Center the table Not to display the lines around the table scheng would like ...
Sep 18, 2004

Optional Parameters

Optional Parameters

No  parameter Default Description
 1 maxLimit none Set a limit to the number of search results displayed
 2 spacekey all Specify the key of the space you want to search in
 3 type all Specify the content type
 4 lastModified none Specify a time period

1. Set a limit to the number of search results displayed

{search:query=my_query|maxLimit=x}

2. Specify the key of the space you want to search in

{search:query=my_query|spacekey=Doctemp}

3. Specify the content type (page, comment, blogpost, attachment, userinfo, spacedesc)

{search:query=my_query|type=comment}

4. Specify a time period in which the content was last modified

For example, 3d = modified in the last 3 days, 1m3d = modified in the last month and three days)

{search:query=my_query|lastModified= 2d}
Note

Search results will not include those from pages to which you do not have 'View' permission.
RELATED TOPICS

Searching Confluence
Working with Macros

Take me back to Confluence 2 Home

What about the "labelText:" and "title:" functionality? These work fine with the confluence text box, but not with the search macro. Any ideas?

Posted by klausi at Mar 08, 2006 04:16

Is it possible to format the output of the search?

Posted by timokopp at Apr 05, 2006 09:30

Great question...I also need to be able to only search on page titles...is this possible with the the search macro?

Posted by btknorr@gmail.com at Apr 06, 2006 14:51

Hi,
I would have expected search results to show the {excerpt} of a page if one was available..

Posted by damonrand at Jul 31, 2006 18:47
Document generated by Confluence on Feb 05, 2007 23:34